package com.tjbklx1.pattern2.chap34.ls;

import com.tjbklx1.pattern2.chap34.Command;
import com.tjbklx1.pattern2.chap34.CommandName;
import com.tjbklx1.pattern2.chap34.CommandVO;

public class LSCommand extends Command {
	public String execute(CommandVO vo) {
		// 返回链表的首节点
		CommandName firstNode = super.buildChain(AbstractLS.class).get(0);
		return firstNode.handleMessage(vo);
	}
}